<?php
require_once('global.php');

$query=$db->query("SELECT * FROM {$tablepre}xna_site WHERE state='1' order by rss_cate,addtime desc");
while ($row=$db->row($query)){
	$row["rss_cate"] = $rss_cate[$row["rss_cate"]];
	$row["uptime"] = date("Y-m-d H:m:s",$row["uptime"]);
	$ret[] = $row;
}
include template("site", _ROOT ."/template/digg/");
?>